package com.rs.game.player.dialogues;

public class Sakirth extends Dialogue {

	int npcId = 14285;

	@Override
	public void start() {
		if (player.DoneServerManager) {
			player.getInterfaceManager().sendTeleports();
			end ();
		} else 
			sendNPCDialogue(npcId, Expressions.HAPPY_TALKING,  "Ahh.. I see.. I see..  A new adventurer has arrived to my world.");	
	}

	@Override
	public void run(int interfaceId, int componentId) {
		if (stage == -1) {
			sendPlayerDialogue(9843, "Yes.. That's true. The Ethereal Guide has sent me to this dimension..");
			stage = 0;		
	} else if (stage == 0) {
	sendNPCDialogue(npcId, Expressions.HAPPY_TALKING,  "Ahh.. I see.. I see.. Let me introduce myself. I am the Server Manager. I can guide you to the amazing Glacors, or the giant PolyPore Dungeon, just talk to me and I will transport you through Phoenix.");	
	stage = 1;		
	} else if (stage == 1) {
	sendPlayerDialogue(9843, "Interesting. Do you have any tips for me to make money?");
	stage = 2;
	} else if (stage == 2) {
	sendNPCDialogue(npcId, Expressions.HAPPY_TALKING,  "Yes.. Yes.. Many creatures drop valuable drops, desired by the greatest adventurers.");	
	stage = 3;
	} else if (stage == 3) {
	sendNPCDialogue(npcId, Expressions.HAPPY_TALKING,  "Or the art of thieving can earn you a lot of money.");	
	stage = 4;
	} else if (stage == 4) {
	sendNPCDialogue(npcId, Expressions.HAPPY_TALKING,  "Don't worry, adventurer. You are not alone here. Other brave adventurers will teach you to survive.");	
	stage = 5;	
	} else if (stage == 5) {
	player.getInterfaceManager().sendTeleports();
	player.setDoneServerManager();
	end ();
	}
}

	@Override
	public void finish() {
		// TODO Auto-generated method stub
		
	}

}
